package com.niiwoo.civet.account.dao.mapper;

import com.niiwoo.civet.account.dao.entity.FundsUnfreezeOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FundsUnfreezeOrderMapperExt extends FundsUnfreezeOrderMapper{

    void updateUnfreezeOrderByRequestNo(FundsUnfreezeOrder unfreezeOrder);

    FundsUnfreezeOrder selectByPrimaryKeyForUpdate(@Param("id")Long id);

    FundsUnfreezeOrder queryUnfreezeOrderByOrderId(@Param("orderId")Long orderId,@Param("orderType")Byte orderType);

    List<FundsUnfreezeOrder> listUnfreezeOrderList(@Param("status")Byte status);

    FundsUnfreezeOrder queryUnfreezeOrderByRequestNo(@Param("requestNo")String requestNo);

}